package com.yxinsur.imc.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yxinsur.imc.common.annotation.Excel;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 预收报表 VO
 *
 * @author imc
 * @date 2021-05-17
 */
@Data
@ToString
public class ReportAdvanceVo
{
    private static final long serialVersionUID = 1L;

    /** 保单号，合同号 */
    @Excel(name ="保单号")
    private String policyCode;

    /** 投保单号 */
    @Excel(name ="投保单号")
    private String proposalCode;

    /** 险种状态 */
    @Excel(name ="保单状态",dictType = "order_status_code",comboDicType = "order_status_code")
    private String riskStatusCode;

    /** 代理人姓名 */
    @Excel(name ="服务代理人姓名")
    private String brokerName;

    /** 代理人代码 */
    @Excel(name ="服务代理人代码")
    private String brokerCode;

    /** 代理人职级 */
    @Excel(name ="服务代理人职级")
    private String brokerLevel;

    /** 机构名称 */
    @Excel(name ="管理机构")
    private String orgName;

    /** 直辖团队 */
    @Excel(name ="直辖团队")
    private String teamName;

    /** 所辖团队 */
    @Excel(name ="所辖团队")
    private String suoxiaName;

    /** 供应商 */
    @Excel(name ="供应商")
    private String supplierName;

    /** 险种代码 */
    @Excel(name ="险种代码")
    private String insCode;

    /** 险种名称 */
    @Excel(name ="险种名称")
    private String riskName;

    /** 投保人姓名 */
    private String applicantName;

    /** 预收日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name ="投保日期")
    private String applyDate;

    /** 承保日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name ="承保日期")
    private String insureDate;

    /** 保单生效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name ="生效日期")
    private String effectiveDate;

    /** 应缴日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name ="应缴日期")
    private String payableDate;

    /** 实缴日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name ="实缴日期")
    private String paymentDate;

    /** 保单年度 */
    @Excel(name ="保单年度")
    private Integer policyYear;

    /** 缴费频率类型 */
    @Excel(name ="缴费频率类型",dictType = "charge_interval",comboDicType = "charge_interval")
    private String chargeIntervalEnum;

    /** 缴费年期类型 */
    @Excel(name ="缴费期间类型",dictType = "charge_period",comboDicType = "charge_period")
    private String chargePeriodEnum;

    /** 缴费期限 */
    @Excel(name ="缴费期限")
    private String chargePeriodValue;

    /** 缴费期数 */
    @Excel(name ="缴费期数")
    private Integer payNum;


    /** 险种保费-首年/首次 */
    @Excel(name ="首年保费（元）")
    private BigDecimal prem;

    /** 应收保费 */
    @Excel(name ="应缴保费（元）")
    private BigDecimal payablePrem;

    /** 实收保费 */
    @Excel(name ="实缴保费（元）")
    private BigDecimal paymentPrem;

    /** 手续费状态 */
    @Excel(name ="手续费状态",dictType = "sys_yes_no",comboDicType = "sys_yes_no")
    private String isFeeSettled;

    /** 佣金发放状态 */
    @Excel(name ="佣金发放状态",dictType = "sys_yes_no",comboDicType = "sys_yes_no")
    private String isCommPaid;

    /** 折标率 */
    private BigDecimal standRate;

    /** 首期标保 */
    private BigDecimal standPrem;

    /** 佣金率 */
    private BigDecimal commissionRate;

    /** 佣金 */
    private BigDecimal commission;

    /** 手续费率 */
    private BigDecimal feeRate;

    /** 手续费 */
    private BigDecimal baseFee;


    /** 险种基本保额 */
    private BigDecimal amount;

    /** 客户回执签收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String custAckDate;

    /** 客户回执签收时间 */
    private String inputTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date revisitDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date ackDate;




}
